From be8604faf3df2bc567138a9ef4a1e717852a994d Mon Sep 17 00:00:00 2001 From: "chris@ubuntu.eng.hq.xensource.com" Date: Mon, 24 Oct 2005 19:04:30 -0700 Subject: [PATCH] Don't run network stop script when doing xend stop. It doesn't make sense to undo the network configuration when stopping xend since that would cut off all VMs from the network. Undoing the network setup should be an option independent of xend stop. Signed-off-by: Christian Limpach --- tools/python/xen/xend/server/SrvDaemon.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/python/xen/xend/server/SrvDaemon.py b/tools/python/xen/xend/server/SrvDaemon.py index 80e2d0eb8b..ce8b1a4e60 100644 --- a/tools/python/xen/xend/server/SrvDaemon.py +++ b/tools/python/xen/xend/server/SrvDaemon.py @@ -262,10 +262,7 @@ class Daemon: return 1 def stop(self): - result = self.cleanup_xend(True) - from xen.xend import Vifctl - Vifctl.network("stop") - return result + return self.cleanup_xend(True) def run(self, status): try: -- 2.30.2